<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta content="text/html;charset=utf-8">
<title>添加项目成员</title></head>
<link href="resources/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="resources/bootstrap/css/bootstrap-theme.min.css" rel="stylesheet">
<link href="resources/css/index.css" rel="stylesheet">

<body>
	<s:include value="../header-common.jsp" />
<div class="container">
	<div class="row">
		<h1 style="text-align:center;text-shadow:1px 1px;">添加项目成员</h1>
	</div>
	<div class="row">
		<s:if test="actionErrors.size()>0 || fieldErrors.size()>0">
			<div class="alert alert-danger col-sm-7 col-sm-offset-2">
				<s:actionerror />
			</div>
		</s:if>
	</div>
	<table class="table table-striped table-bordered table-hover table-condensed table-responsive">
		<tr>
			<td>项目名称:</td><td>${projectInfo.projectName }</td>
		</tr>
		<tr>
			<td>添加测试员:</td>
			<td>
			<s:form action="addTest" method="post">
				<input name="projectId" value="${projectInfo.projectId }" readonly style="display:none;">
				<s:select name="selectTest" list="testEmployee" headerKey="0" headerValue="请选择测试员"
					listKey="key" listValue="value"></s:select>
				<button type="submit" onclick="" class="btn btn-info">添加</button>
			</s:form>
			</td>
		</tr>
		<tr>
			<td>添加开发员:</td>
			<td>
			<s:form action="addWork" method="post">
				<input name="projectId" value="${projectInfo.projectId }" readonly style="display:none;">
				<s:select name="selectWork" list="workEmployee" headerKey="0" headerValue="请选择开发员"
					listKey="key" listValue="value"></s:select>
				<button type="submit" onclick="" class="btn btn-info">添加</button>
			</s:form>
			</td>
		</tr>
	</table>
</div>
	<script src="resources/bootstrap/js/jquery.min.js"></script>
	<script src="resources/bootstrap/js/bootstrap.min.js"></script>
	<script src="resources/js/common.js"></script>
</body>
</html>
